10 14 4
1 1 0 1 0 0 0 0 0 0 0 0 0 0
1 0 1 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 1 0 0 0 0 0 0 0 0 0
0 0 1 0 0 1 0 1 0 0 0 0 0 0
0 0 0 1 0 1 1 0 1 0 0 0 0 0
0 0 0 0 1 0 1 0 0 1 0 0 1 0
0 0 0 0 0 0 0 1 0 0 1 0 0 0
0 0 0 0 0 0 0 0 1 0 1 1 0 0
0 0 0 0 0 0 0 0 0 1 0 1 0 1
0 0 0 0 0 0 0 0 0 0 0 0 1 1
1 1 3 5 7 1 2 2 9 3 5 2 1 4
1 7 8 10